Ext.onReady(function() {
	var _treewin = new Ext.Window( {
		title : 'treeWindow',
		width : 400,
		height : 300
	});

	var _tree = new Ext.tree.TreePanel( {
		title : '树',
		width : 200,
		height : 300,
		root : new Ext.tree.AsyncTreeNode( {
			text : '我是根',
			children : [ {
				text : '节点1',
				children : [ {
					text : '叶子',
					leaf : true
				} ]
			}, {
				text : '节点',
				leaf : true
			} ]
		})
	});
	_treewin.add(_tree);
	_treewin.show();

});